package com.ysstech.distributed_quartz;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.ysstech.distributed_quartz.job.ClusterQuartz;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
    	ApplicationContext  context = new ClassPathXmlApplicationContext("spring.xml");
       
       ClusterQuartz quartz = context.getBean(ClusterQuartz.class);
       
       quartz.printUserInfo();
       
       while(true){
    	    
       }
    }
}
